3.644 \(\int \frac{1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )} \, dx\)

Optimal. Leaf size=133 \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{b^2-4 a c}}\right )}{2 a^2 e f^3 \sqrt{b^2-4 a c}}+\frac{b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 a^2 e f^3}-\frac{b \log (d+e x)}{a^2 e f^3}-\frac{1}{2 a e f^3 (d+e x)^2} \]

[Out]

-1/(2*a*e*f^3*(d + e*x)^2) - ((b^2 - 2*a*c)*ArcTanh[(b + 2*c*(d + e*x)^2)/Sqrt[b
^2 - 4*a*c]])/(2*a^2*Sqrt[b^2 - 4*a*c]*e*f^3) - (b*Log[d + e*x])/(a^2*e*f^3) + (
b*Log[a + b*(d + e*x)^2 + c*(d + e*x)^4])/(4*a^2*e*f^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.431615, antiderivative size = 133, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.242 \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c (d+e x)^2}{\sqrt{b^2-4 a c}}\right )}{2 a^2 e f^3 \sqrt{b^2-4 a c}}+\frac{b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{4 a^2 e f^3}-\frac{b \log (d+e x)}{a^2 e f^3}-\frac{1}{2 a e f^3 (d+e x)^2} \]

Antiderivative was successfully verified.

[In]  Int[1/((d*f + e*f*x)^3*(a + b*(d + e*x)^2 + c*(d + e*x)^4)),x]

[Out]

-1/(2*a*e*f^3*(d + e*x)^2) - ((b^2 - 2*a*c)*ArcTanh[(b + 2*c*(d + e*x)^2)/Sqrt[b
^2 - 4*a*c]])/(2*a^2*Sqrt[b^2 - 4*a*c]*e*f^3) - (b*Log[d + e*x])/(a^2*e*f^3) + (
b*Log[a + b*(d + e*x)^2 + c*(d + e*x)^4])/(4*a^2*e*f^3)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 56.6593, size = 124, normalized size = 0.93 \[ - \frac{1}{2 a e f^{3} \left (d + e x\right )^{2}} - \frac{b \log{\left (\left (d + e x\right )^{2} \right )}}{2 a^{2} e f^{3}} + \frac{b \log{\left (a + b \left (d + e x\right )^{2} + c \left (d + e x\right )^{4} \right )}}{4 a^{2} e f^{3}} - \frac{\left (- 2 a c + b^{2}\right ) \operatorname{atanh}{\left (\frac{b + 2 c \left (d + e x\right )^{2}}{\sqrt{- 4 a c + b^{2}}} \right )}}{2 a^{2} e f^{3} \sqrt{- 4 a c + b^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/(e*f*x+d*f)**3/(a+b*(e*x+d)**2+c*(e*x+d)**4),x)

[Out]

-1/(2*a*e*f**3*(d + e*x)**2) - b*log((d + e*x)**2)/(2*a**2*e*f**3) + b*log(a + b
*(d + e*x)**2 + c*(d + e*x)**4)/(4*a**2*e*f**3) - (-2*a*c + b**2)*atanh((b + 2*c
*(d + e*x)**2)/sqrt(-4*a*c + b**2))/(2*a**2*e*f**3*sqrt(-4*a*c + b**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.245937, size = 157, normalized size = 1.18 \[ \frac{\frac{\left (b \sqrt{b^2-4 a c}-2 a c+b^2\right ) \log \left (-\sqrt{b^2-4 a c}+b+2 c (d+e x)^2\right )}{\sqrt{b^2-4 a c}}+\frac{\left (b \sqrt{b^2-4 a c}+2 a c-b^2\right ) \log \left (\sqrt{b^2-4 a c}+b+2 c (d+e x)^2\right )}{\sqrt{b^2-4 a c}}-\frac{2 a}{(d+e x)^2}-4 b \log (d+e x)}{4 a^2 e f^3} \]

Antiderivative was successfully verified.

[In]  Integrate[1/((d*f + e*f*x)^3*(a + b*(d + e*x)^2 + c*(d + e*x)^4)),x]

[Out]

((-2*a)/(d + e*x)^2 - 4*b*Log[d + e*x] + ((b^2 - 2*a*c + b*Sqrt[b^2 - 4*a*c])*Lo
g[b - Sqrt[b^2 - 4*a*c] + 2*c*(d + e*x)^2])/Sqrt[b^2 - 4*a*c] + ((-b^2 + 2*a*c +
 b*Sqrt[b^2 - 4*a*c])*Log[b + Sqrt[b^2 - 4*a*c] + 2*c*(d + e*x)^2])/Sqrt[b^2 - 4
*a*c])/(4*a^2*e*f^3)

_______________________________________________________________________________________

Maple [C]  time = 0.007, size = 222, normalized size = 1.7 \[{\frac{1}{2\,{f}^{3}{a}^{2}e}\sum _{{\it \_R}={\it RootOf} \left ( c{e}^{4}{{\it \_Z}}^{4}+4\,cd{e}^{3}{{\it \_Z}}^{3}+ \left ( 6\,c{d}^{2}{e}^{2}+b{e}^{2} \right ){{\it \_Z}}^{2}+ \left ( 4\,c{d}^{3}e+2\,bde \right ){\it \_Z}+c{d}^{4}+b{d}^{2}+a \right ) }{\frac{ \left ({{\it \_R}}^{3}bc{e}^{3}+3\,{{\it \_R}}^{2}bcd{e}^{2}+e \left ( 3\,bc{d}^{2}-ac+{b}^{2} \right ){\it \_R}+bc{d}^{3}-acd+{b}^{2}d \right ) \ln \left ( x-{\it \_R} \right ) }{2\,c{e}^{3}{{\it \_R}}^{3}+6\,cd{e}^{2}{{\it \_R}}^{2}+6\,{\it \_R}\,c{d}^{2}e+2\,c{d}^{3}+be{\it \_R}+bd}}}-{\frac{1}{2\,ae{f}^{3} \left ( ex+d \right ) ^{2}}}-{\frac{b\ln \left ( ex+d \right ) }{{f}^{3}{a}^{2}e}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/(e*f*x+d*f)^3/(a+b*(e*x+d)^2+c*(e*x+d)^4),x)

[Out]

1/2/f^3/a^2/e*sum((_R^3*b*c*e^3+3*_R^2*b*c*d*e^2+e*(3*b*c*d^2-a*c+b^2)*_R+b*c*d^
3-a*c*d+b^2*d)/(2*_R^3*c*e^3+6*_R^2*c*d*e^2+6*_R*c*d^2*e+2*c*d^3+_R*b*e+b*d)*ln(
x-_R),_R=RootOf(c*e^4*_Z^4+4*c*d*e^3*_Z^3+(6*c*d^2*e^2+b*e^2)*_Z^2+(4*c*d^3*e+2*
b*d*e)*_Z+c*d^4+b*d^2+a))-1/2/a/e/f^3/(e*x+d)^2-b*ln(e*x+d)/a^2/e/f^3

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ -\frac{1}{2 \,{\left (a e^{3} f^{3} x^{2} + 2 \, a d e^{2} f^{3} x + a d^{2} e f^{3}\right )}} + \frac{\int \frac{b c e^{3} x^{3} + 3 \, b c d e^{2} x^{2} + b c d^{3} +{\left (3 \, b c d^{2} + b^{2} - a c\right )} e x +{\left (b^{2} - a c\right )} d}{c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + c d^{4} +{\left (6 \, c d^{2} + b\right )} e^{2} x^{2} + b d^{2} + 2 \,{\left (2 \, c d^{3} + b d\right )} e x + a}\,{d x}}{a^{2} f^{3}} - \frac{b \log \left (e x + d\right )}{a^{2} e f^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(((e*x + d)^4*c + (e*x + d)^2*b + a)*(e*f*x + d*f)^3),x, algorithm="maxima")

[Out]

-1/2/(a*e^3*f^3*x^2 + 2*a*d*e^2*f^3*x + a*d^2*e*f^3) + integrate((b*c*e^3*x^3 +
3*b*c*d*e^2*x^2 + b*c*d^3 + (3*b*c*d^2 + b^2 - a*c)*e*x + (b^2 - a*c)*d)/(c*e^4*
x^4 + 4*c*d*e^3*x^3 + c*d^4 + (6*c*d^2 + b)*e^2*x^2 + b*d^2 + 2*(2*c*d^3 + b*d)*
e*x + a), x)/(a^2*f^3) - b*log(e*x + d)/(a^2*e*f^3)

_______________________________________________________________________________________

Fricas [A]  time = 0.399025, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(((e*x + d)^4*c + (e*x + d)^2*b + a)*(e*f*x + d*f)^3),x, algorithm="fric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3*f^3*x^2 + 2*a^2*d*e^2*f^3*x + a^2
*d^2*e*f^3)*sqrt(-b^2 + 4*a*c))]

_______________________________________________________________________________________

Sympy [A]  time = 58.4927, size = 532, normalized size = 4. \[ \left (\frac{b}{4 a^{2} e f^{3}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) \log{\left (\frac{2 d x}{e} + x^{2} + \frac{- 8 a^{3} c e f^{3} \left (\frac{b}{4 a^{2} e f^{3}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) + 2 a^{2} b^{2} e f^{3} \left (\frac{b}{4 a^{2} e f^{3}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) + 3 a b c + 2 a c^{2} d^{2} - b^{3} - b^{2} c d^{2}}{2 a c^{2} e^{2} - b^{2} c e^{2}} \right )} + \left (\frac{b}{4 a^{2} e f^{3}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) \log{\left (\frac{2 d x}{e} + x^{2} + \frac{- 8 a^{3} c e f^{3} \left (\frac{b}{4 a^{2} e f^{3}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) + 2 a^{2} b^{2} e f^{3} \left (\frac{b}{4 a^{2} e f^{3}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{4 a^{2} e f^{3} \left (4 a c - b^{2}\right )}\right ) + 3 a b c + 2 a c^{2} d^{2} - b^{3} - b^{2} c d^{2}}{2 a c^{2} e^{2} - b^{2} c e^{2}} \right )} - \frac{1}{2 a d^{2} e f^{3} + 4 a d e^{2} f^{3} x + 2 a e^{3} f^{3} x^{2}} - \frac{b \log{\left (\frac{d}{e} + x \right )}}{a^{2} e f^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(e*f*x+d*f)**3/(a+b*(e*x+d)**2+c*(e*x+d)**4),x)

[Out]

(b/(4*a**2*e*f**3) - sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a*c -
b**2)))*log(2*d*x/e + x**2 + (-8*a**3*c*e*f**3*(b/(4*a**2*e*f**3) - sqrt(-4*a*c
+ b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a*c - b**2))) + 2*a**2*b**2*e*f**3*(b/(
4*a**2*e*f**3) - sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a*c - b**2
))) + 3*a*b*c + 2*a*c**2*d**2 - b**3 - b**2*c*d**2)/(2*a*c**2*e**2 - b**2*c*e**2
)) + (b/(4*a**2*e*f**3) + sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a
*c - b**2)))*log(2*d*x/e + x**2 + (-8*a**3*c*e*f**3*(b/(4*a**2*e*f**3) + sqrt(-4
*a*c + b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a*c - b**2))) + 2*a**2*b**2*e*f**3
*(b/(4*a**2*e*f**3) + sqrt(-4*a*c + b**2)*(2*a*c - b**2)/(4*a**2*e*f**3*(4*a*c -
 b**2))) + 3*a*b*c + 2*a*c**2*d**2 - b**3 - b**2*c*d**2)/(2*a*c**2*e**2 - b**2*c
*e**2)) - 1/(2*a*d**2*e*f**3 + 4*a*d*e**2*f**3*x + 2*a*e**3*f**3*x**2) - b*log(d
/e + x)/(a**2*e*f**3)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left ({\left (e x + d\right )}^{4} c +{\left (e x + d\right )}^{2} b + a\right )}{\left (e f x + d f\right )}^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(((e*x + d)^4*c + (e*x + d)^2*b + a)*(e*f*x + d*f)^3),x, algorithm="giac")

[Out]

integrate(1/(((e*x + d)^4*c + (e*x + d)^2*b + a)*(e*f*x + d*f)^3), x)